<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="../taglibs.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
   <link href="../css/four.css" rel="stylesheet" type="text/css" />
   <script type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
   <script type="text/javascript" src="../js/jquery-3.1.1.min.js"></script>
	<script type="text/javascript" src="../js/jquery.easyui.min.js"></script>
   <script type="text/javascript">
   
   		$(function() {
			var end= $("#jsdate").html();
			var begin=$("#fbdate").html()
			$("#enddate").val(end);
			$("#begindate").val(begin);
		});
   		
   </script>
	<!-- 包含等待框 -->
	<form action="upGw.do" method="post">
	<input name="jygwid" value="${gw.jygwid}" type="hidden" >
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr valign="top">
			<td bgcolor="#FFFFFF">
			    <table width="96%"  border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#aec3de">
					
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">企业名称</td>
						<td align="left" bgcolor="#FFFFFF">
						   <select name="jyid" id="upd_jyid">
						   <c:forEach items="${gss}" var="gs">
						   <option ${gw.jyid==gs.jyid?"selected='selected'":""}  value="${gs.jyid }">${gs.jyname }</option>
						   </c:forEach>
						  </select></td> 
					</tr>
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">需要岗位</td>
						<td align="left" bgcolor="#FFFFFF"><input name="jygwName" value="${gw.jygwName}"></td> 
					</tr>
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">需要人数</td>
						<td align="left" bgcolor="#FFFFFF"><input name="jygwnum" value="${gw.jygwnum}"></td> 
					</tr>
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">岗位描述</td>
						<td align="left" bgcolor="#FFFFFF"><textarea rows="2" cols="60" name="jygwdescb">${gw.jygwdescb}</textarea></td> 
					</tr>
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">指导老师</td>
						<td align="left" bgcolor="#FFFFFF"><select name="eid">
						<c:forEach items="${emps}" var="emp">
						  <option value="${emp.eid }">${emp.ename }</option>
						  </c:forEach>
						  </select></td> 
					</tr>
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">待遇下限</td>
						<td align="left" bgcolor="#FFFFFF"><input name="jygwmin" value="${gw.jygwmin}"></td> 
					</tr>
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">待遇上限</td>
						<td align="left" bgcolor="#FFFFFF"><input name="jygwmax" value="${gw.jygwmax}"></td> 
					</tr>
					 <tr align="center">
						<td align="center" bgcolor="#ebf0f7">发布时间</td>
						<td align="left" bgcolor="#FFFFFF"><input id="begindate" name="jygwbegindate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" /></td> 
					    <td id="fbdate" hidden="true"><fmt:formatDate value="${gw.jygwbegindate}" pattern="yyyy-MM-dd"/></td>
					</tr> 
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">结束时间</td>
						<td align="left" bgcolor="#FFFFFF"><input id="enddate" name="jygwenddate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" /></td>
						<td id="jsdate" hidden="true"><fmt:formatDate value="${gw.jygwenddate}" pattern="yyyy-MM-dd"/></td>
					</tr>
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">岗位特别要求</td>
						<td align="left" bgcolor="#FFFFFF"><textarea rows="2" cols="60" name="jygwbeizhu">${gw.jygwbeizhu}</textarea></td> 
					</tr>
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">岗位备注</td>
						<td align="left" bgcolor="#FFFFFF"><textarea rows="2" cols="60" name="jygwbeizhu2">${gw.jygwbeizhu2}</textarea></td> 
					</tr>
					
				</table>
			</td>
		</tr>
		<tr><td align="center" style="color: red">${msg}</td></tr>
		<tr>
		   
		  <td align="center">  <input type="submit" value="修改"> &nbsp;&nbsp;&nbsp; <input type="button" onclick="javascript:history.go(-1)" value="返回"> </td>
		</tr>
	</table>
  </form>
  
